﻿using DevExpress.Forms;
using System;

namespace DevExpress.Form
{
    public partial class FormMain : DevExpress.XtraEditors.XtraForm
    {
        public FormMain()
        {
            InitializeComponent();
        }

        private void OnToolbarFormClick(object sender, EventArgs e)
        {
            var form = new FormToolbar();
            form.Show();
        }

        private void OnRibbonFormClick(object sender, EventArgs e)
        {
            var form = new FormRibbon();
            form.Show();
        }

        private void OnDirectXFormClick(object sender, EventArgs e)
        {
            var form = new FormDirectX();
            form.Show();
        }

        private void OnFluentDesignFormClick(object sender, EventArgs e)
        {
            var form = new FormFluentDesign();
            form.Show();
        }

        private void OnTabbedFormClick(object sender, EventArgs e)
        {
            var form = new FormTabbed();
            form.Show();
        }

        private void OnSkinnableFormClick(object sender, EventArgs e)
        {
            var form = new FormSkinnable();
            form.Show();
        }
    }
}
